import { createRequest } from '/@/api/service';
const module = 'ib/order/v1/WorkOrderEventOpinionSettingApi';

/**
 * @function 查询工单快捷回复列表
 * @param data
 * @param header
 * @returns {Promise}
 */
function QUERY_WORK_ORDER_EVENT_OPINION_SETTING_LIST(
  data: WorkOrderEventOpinionSettingApi.QueryWorkOrderEventOpinionSettingListReq,
  header: object = {},
): Promise<WorkOrderEventOpinionSettingApi.QueryWorkOrderEventOpinionSettingListResp> {
  return createRequest(
    `${process.env.APP_API_URL}${module}/queryWorkOrderEventOpinionSettingList`,
    data,
    header,
    'POST',
  );
}

export { QUERY_WORK_ORDER_EVENT_OPINION_SETTING_LIST };
